package pub.tbc.hh.mall.service.impl;

import org.springframework.stereotype.Service;
import pub.tbc.hh.mall.mapper.WaresTypeMapper;
import pub.tbc.hh.mall.service.WaresTypeService;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @auth tbc on 2018/5/20.
 */
@Service("waresTypeService")
public class WaresTypeServiceImpl implements WaresTypeService {

    @Resource
    private WaresTypeMapper mapper;

    @Override
    public Map<String, Object> types() {
        return mapper.queryWaresTypes();
    }
}
